package uit.edu.vn.portal.elearning.models.schedule;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(name="item")
public class CalendarEvent {
	
	@Element(name="eventId")
	private String id;
	
	@Element(name="eventType")
	private String type;
	
	@Element(name="eventDisplayName",required=false)
	private String displayName;
	
	@Element(name="eventDescription",required=false)
	private String discription;

	@Element(name="eventLocation",required=false)
	private String location;
	
	@Element(name="eventCreator",required=false)
	private String creator;
	
	@Element(name="eventUrl",required=false)
	private String url;
	
	@Element(name="eventSiteId",required=false)
	private String siteid;
	
	@Element(name="eventPageUrl",required=false)
	private String pageUrl;
	
	@Element(name="eventReference",required=false)
	private String reference;
	
	@Element(name="eventRecurrenceRule",required=false)
	private RecurrenceRule recurrenceRule;
	
	@Element(name="eventExclusionRule",required=false)
	private RecurrenceRule exclusionRule;
	
	@Element(name="eventTimeRange",required=false)
	private TimeRange timeRange;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getDiscription() {
		return discription;
	}

	public void setDiscription(String discription) {
		this.discription = discription;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getPageUrl() {
		return pageUrl;
	}
	
	public String getSiteid() {
		return siteid;
	}

	public void setSiteid(String siteid) {
		this.siteid = siteid;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getReference() {
		return reference;
	}

	public void setReference(String reference) {
		this.reference = reference;
	}

	public RecurrenceRule getRecurrenceRule() {
		return recurrenceRule;
	}

	public void setRecurrenceRule(RecurrenceRule recurrenceRule) {
		this.recurrenceRule = recurrenceRule;
	}

	public RecurrenceRule getExclusionRule() {
		return exclusionRule;
	}

	public void setExclusionRule(RecurrenceRule exclusionRule) {
		this.exclusionRule = exclusionRule;
	}

	public TimeRange getTimeRange() {
		return timeRange;
	}

	public void setTimeRange(TimeRange timeRange) {
		this.timeRange = timeRange;
	}
	
}
